package assist.datastore;

import java.util.Collection;

/**
 * 
 * Provides the interface for the DAOs to interact with a datastore.
 *
 * @param <T>
 */
public interface Datastore<T>
{
    public T save(T obj);
    public T getById(Class<T> clazz, Object id);
    public Collection<T> saveAll(final Collection<T> objects);
}